package com.easyim.imserver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "com.easyim.tcp-server")
public class TcpServerConfig {

    private Integer port;

    /**
     *  接收连接的线程数
     */
    private Integer acceptCount = 1;

    /**
     *  处理连接的线程数
     */
    private Integer dealCount = 8;
}
